﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Movies</title>
<link href="fceux.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.style1 {
	float: right;
	margin-left: 64px;
	margin-right: 20px;
	margin-bottom: 64px;
}
</style>
</head>

<body>
<div id="masthead">
	<span class="largerfont">FCEUX<br/></span>The all in one NES/Famicom/Dendy Emulator
</div>
<div id="top_nav">
  <a href="home.html">Home</a>
  <a href="download.html">Download</a>
  <a href="documentation.html">Documentation</a>
  <a href="version.html">Versions</a>
  <a href="contact.html">Contact</a>
  <a href="links.html">Links</a>
</div>
<div id="container">
	<div id="left_col">
	<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
	<ins class="adsbygoogle"
 		style="display:inline-block;width:180px;height:150px"
 		data-ad-client="ca-pub-0764229755985190"
 		data-ad-slot="7648866201"></ins>
	<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
	</script>	
	<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
	<ins class="adsbygoogle"
    	 style="display:inline-block;width:180px;height:150px"
     	data-ad-client="ca-pub-0764229755985190"
     	data-ad-slot="7648866201"></ins>
	<script>
    	 (adsbygoogle = window.adsbygoogle || []).push({});
	</script>
</div>
	<div id="page_content">
	<h1>Movies</h1>
	<h2>Introduction</h2>
	<p>A movie file is a file which contains data needed to reconstruct actions in a game. 
	In most emulators, the movie files consist of simply the buttons that were pressed during the game. 
	Because the emulation is completely predictable (deterministic), it will always play back the same way.</p>

	<p>Unless the movie starts from the console power-on or from reset, the movie file might also contain a savestate that loads the beginning point of the game.  
	Movie files don’t contain any sound or image data. Such data is not needed, because the emulator can reconstruct it during movie playback.</p>

	<p>Movie files in FCEUX are .fm2 files.  
	The file format is unique to FCEUX and not compatible with other movie recording versions of FCE Ultra.  
	Movie files from other versions (.fcm) can be converted to .fm2 for playback with the <a href="ConvertFCMtoFM2.html">.fcm to .fm2 converter.</a></p>

	<p>Movie features in FCEUX are designed specifically for making Tool-assisted Speedruns.<br>
	<a href="http://tasvideos.org">For more information visit TASVideos.</a></p>

	<h2>Playing Back Movies</h2>
	<img alt="Play movie dialog box" class="style1" height="299" src="assets/PlayMovie.png" width="456" />
	(Windows)<br/>
	<p>To play back a recorded movie, open the ROM.  
	Then select "Replay Movie" in the File Menu.  
	A movie dialog box will open where you can select the movie file.  
	</p>
	
	<h3>Read-only</h3>
	<p>You can also select whether the movie is in Read-only mode.  
	If a movie is in read-only mode, the movie file can not be altered in any way.  
	If you make a savestate while playing the movie and load that state, the playback will simply "rewind" to that state.  
	If the movie is not in read-only, however, loading a state will set the movie to record mode and begin recording from that savestate.
	</p>
	
	<h3>Pause movie at frame</h3>
	You can also select "Pause movie at frame" x.  
	If selected, the movie will automatically pause when reaching the frame selected (the default is the last frame of the movie).
	<p>&nbsp;</p>
	<p>&nbsp;</p>

	<h2>Recording Movies</h2>
	<img alt="Record movie dialog box" class="style1" height="172" src="assets/RecordMovie.png" width="420"/>
	<p>(Windows)<br>
	To record a movie, open a ROM.  Then simply select "Record Movie" in the File > Movie Menu.  
	You will be prompted to name the file and to select where to record from.  
	Selecting "Start" will begin the recording from a Power-on (Hard Reset).  
	If you select "Now", a savestate will be made at your current location in the game, and the movie will begin recording from there.  
	If you select browse, you will be prompted to find a preexisting savestate file to begin recording from.
	</p>
	<p>&nbsp;</p>
	<p>&nbsp;</p>

	<h2>Savestates, Slowdown, and Frame Advance</h2>
	<p>At anytime while recording, you can make a savestate.  
	This is a snapshot of the game's current memory contents.  
	Once a savestate is made, it can be loaded with the loadstate command.  
	This will return the movie back to the spot in the game where the savestate was made.  
	This can be used to undo mistakes or to test different strategies for a particular segment.
	</p>
	<p>(Windows users - the default key for making a savestate is "I" and the default key for loading a state is "P".  Both of these can be assigned under the <a href="help/MapHotkeys.html">Map Hotkeys Menu</a>).  
	Both can also be access through the File &gt; Savestate Menu.
	</p>
	
	<p>Tool Assisted movies take advantage of slowing the emulator down in order to increase precision of the movie making process.  
	Navigating to NES &gt; Emulation Speed &gt; Slow down or pressing the "-" key will slow down emulation.  
	NES &gt; Emulation Speed &gt; Speed up or the "=" will speed it up.  (These can be re-mapped.  For windows users, see the <a href="help/MapHotkeys.html">Map Hotkeys Menu</a>).</p>

	<p>Even greater precision can be made using the frame advance key.  
	Pressing the frame advance key will pause emulation and advance it a single frame (~1/60th of a second NTSC ).  
	By holding down input and pressing the frame advance key, it will record that input for that particular frame.
	</p>
	<h2>"Bullet Proof Rerecording"</h2>
	<p>All savestates made during movie recording contain the movie information up to the frame of the savestate.  
	When a savestate is loaded, the movie file in the savestate is also loaded.  
	This is referred to as "Bullet Proof Rerecording" because it prevents possible desyncs and lost data from improper/out of order savestate loading.
	</p>

	<h2>Read only</h2>
	<p>	You can select read-only when playing a movie.  
	You can also toggle the read-only status by navigating to File &gt; Movie &gt; Read only.
	In read-only mode a movie can not be edited.  
	Loading a savestate will take the movie to that point in the movie and stay in playback mode.
	</p>
	<p>In read-write status, loading a state will change a movie from playback mode to record mode.</p>


	<h2>Resuming Recording</h2>
	<p>You can resume recording a previous movie by playing back the movie, setting the record status to read+write, and then loading a state.</p>

	<h2>Play Movie from Beginning</h2>
	<p>At any point while recording or playing back a movie, you can navigate to File 
	&gt; Movie &gt; Play Movie from Beginning.  
	This will set the movie to read only status and reset playback to frame 0.</b>
	</p>
	<h2>Frame Counter</h2>
	<p>The Frame counter displays what frame the movie is currently on.  
	If the movie is playing in read-only mode, it will also display the total number of frames in the movie.  
	The default key for toggling the Frame Counter display is the "." (period) key.  (This can be re-mapped in the <a href="help/MapHotkeys.html">Map Hotkeys Menu</a>).
	</p>

	<h2>Frame Advance</h2>
	<p>The frame advance key ("backlash" key by default.  Re-mappable under the <a href="help/MapHotkeys.html">Map Hotkeys Menu</a>) 
	will advance the game by a single frame and then pause the game.   
	If the hotkey is held down, it will auto advance quickly through the game.
	</p>
	<p>This is a critical tool when perfecting input in movie recording.</p>

	<h2>Metadata</h2>
	<img alt="Record movie dialog box" class="style1" height="380" src="assets/Metadata.png" width="410"/>
	<p>When you record a new movie via the record movie dialog there is an author field.  
	This sends the info to the .fm2 file in the form of comment Author [author name] (see <a href="FM2.html">.fm2</a>).  
	</p>
	<p><b>Comments</b></p>
	<p>Any line in the .fm2 that starts with "comment" is known as metadata.  
	You can include any number of comments manually by editing the .fm2 file with any text editor.
	</p>

	<p>(Windows)<br>
	On the replay movie dialog, clicking the metadata button will display all metadata in a separate dialog box 
	(If a movie is currently loaded you can also access the meta-data by right-clicking and selecting Metadata in the context menu).
	</p>

	<p><b>Subtitles</b></p>
	<p>FCEUX supports subtitles in the .fm2 file format.  
	Subtitles will be displayed on the screen automatically as a movie plays.  
	You can turn on/off subtitles 
	Windows users can by navigating to Config &gt; Movie Options &gt; Display movie subtitles (see Movie options).
	</p>
	<p>For adding subtitles to a movie see the <a href="FM2.html">.fm2 documentation.</a></p>
	<p>&nbsp;</p>
	<p>&nbsp;</p>
	</div>
</div>

<div id="footer">
	<a href="home.html">Home</a> | <a href="download.html">Download</a> |
	<a href="documentation.html">Documentation</a> | <a href="version.html">
	Version History</a> | <a href="contact.html">Contact</a> | <a href="links.html">Links</a>
		<br/>We are in no way affiliated or endorsed by Nintendo or Nintendo of America. "Nintendo" is a registered trademark of Nintendo of America Inc.
		<br/>©2009 adelikat</div>


</body>

</html>
